package com.zch.news.dao;

import java.util.List;

import com.zch.news.entity.News;

public interface NewsDao {
	//获得一侧新闻信息
	public News getNewsByNo(int no);
	//添加新闻
	public boolean addNews(News news);
	//删除新闻
	public boolean deleteNews(int no);
	//更新新闻
	public boolean updateNews(News news);
	//获得所有的新闻
	public List<News> getAllNews();
}
